package com.software.loginregister.entity.vo;

public class FoodRecognitionDTO {
    private String name;        // 食材名称
    private Integer quantity;    // 数量（包含单位）
    private String unit;        // 单位（如"个"、"根"等）
    private String storage;     // 存储建议
    private int days;          // 保质期天数
    private Long imageId;

    public FoodRecognitionDTO() {
    }

    public FoodRecognitionDTO(String name, Integer quantity, String unit, String storage, int days) {
        this.name = name;
        this.quantity = quantity;
        this.unit = unit;
        this.storage = storage;
        this.days = days;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getStorage() {
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public Long getImageId() {
        return imageId;
    }

    public void setImageId(Long imageId) {
        this.imageId = imageId;
    }
}
